<?php


$liuyanban ="liuyanban.txt";
if(file_exists($liuyanban) == false ){
fclose(fopen($liuyanban,"a+"));
}
$zhxx = file_get_contents($liuyanban);


if(isset($_GET["liuyanban"]) == true){
	if(strrpos($zhxx,$_GET["liuyanban"]) == false ){
 	$zhxx =  "qijie".$_GET["liuyanban"] . "nb\r\n";
	file_put_contents($liuyanban ,$zhxx,FILE_APPEND);
	 echo file_get_contents($liuyanban) ;
	}else{
	 $zhxx =  "qijie".$_GET["liuyanban"] . "nb\r\n";
	  file_put_contents($liuyanban ,$zhxx,FILE_APPEND);
	 echo file_get_contents($liuyanban);
	}
	
}


?>